import Vue from 'vue'
import store from './store'
import 'babel-polyfill' //处理IE兼容
import api from './api/install'
import i18n from './i18n/i18n'
import Element from 'element-ui'
import echarts from 'echarts'
import layer from "layui-layer";
import moment from 'moment';
import './assets/iconFont/iconfont.css'
import 'element-ui/lib/theme-chalk/index.css'
import 'jquery'
import 'default-passive-events' //不能删除

import App from './App'
import router from './router'


Vue.use(Element)
Vue.use(api)
Vue.prototype.$moment = moment;
Vue.config.productionTip = false
Vue.prototype.$echarts = echarts;

new Vue({
    el: '#app',
    router,
    store,
    i18n,
    layer,
    components: { App },
    template: '<App/>'
})